package uba.ing2.subite.services;

import java.util.Date;

public class SystemClock implements Clock {
	private static final Clock SHARED_INSTANCE = new SystemClock();

	public static synchronized Clock getInstance() {
		return SHARED_INSTANCE;
	}
	
	private SystemClock() {}

	@Override
	public Date currentTime() {
		return new Date();
	}
}
